3.2234 \(\int \sqrt {a+b \sqrt {x}} x \, dx\)

Optimal. Leaf size=88 \[ -\frac {4 a^3 \left (a+b \sqrt {x}\right )^{3/2}}{3 b^4}+\frac {12 a^2 \left (a+b \sqrt {x}\right )^{5/2}}{5 b^4}+\frac {4 \left (a+b \sqrt {x}\right )^{9/2}}{9 b^4}-\frac {12 a \left (a+b \sqrt {x}\right )^{7/2}}{7 b^4} \]

[Out]

-4/3*a^3*(a+b*x^(1/2))^(3/2)/b^4+12/5*a^2*(a+b*x^(1/2))^(5/2)/b^4-12/7*a*(a+b*x^(1/2))^(7/2)/b^4+4/9*(a+b*x^(1
/2))^(9/2)/b^4

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {266, 43} \[ \frac {12 a^2 \left (a+b \sqrt {x}\right )^{5/2}}{5 b^4}-\frac {4 a^3 \left (a+b \sqrt {x}\right )^{3/2}}{3 b^4}+\frac {4 \left (a+b \sqrt {x}\right )^{9/2}}{9 b^4}-\frac {12 a \left (a+b \sqrt {x}\right )^{7/2}}{7 b^4} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[a + b*Sqrt[x]]*x,x]

[Out]

(-4*a^3*(a + b*Sqrt[x])^(3/2))/(3*b^4) + (12*a^2*(a + b*Sqrt[x])^(5/2))/(5*b^4) - (12*a*(a + b*Sqrt[x])^(7/2))
/(7*b^4) + (4*(a + b*Sqrt[x])^(9/2))/(9*b^4)

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \sqrt {a+b \sqrt {x}} x \, dx &=2 \operatorname {Subst}\left (\int x^3 \sqrt {a+b x} \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (-\frac {a^3 \sqrt {a+b x}}{b^3}+\frac {3 a^2 (a+b x)^{3/2}}{b^3}-\frac {3 a (a+b x)^{5/2}}{b^3}+\frac {(a+b x)^{7/2}}{b^3}\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {4 a^3 \left (a+b \sqrt {x}\right )^{3/2}}{3 b^4}+\frac {12 a^2 \left (a+b \sqrt {x}\right )^{5/2}}{5 b^4}-\frac {12 a \left (a+b \sqrt {x}\right )^{7/2}}{7 b^4}+\frac {4 \left (a+b \sqrt {x}\right )^{9/2}}{9 b^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 54, normalized size = 0.61 \[ \frac {4 \left (a+b \sqrt {x}\right )^{3/2} \left (-16 a^3+24 a^2 b \sqrt {x}-30 a b^2 x+35 b^3 x^{3/2}\right )}{315 b^4} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a + b*Sqrt[x]]*x,x]

[Out]

(4*(a + b*Sqrt[x])^(3/2)*(-16*a^3 + 24*a^2*b*Sqrt[x] - 30*a*b^2*x + 35*b^3*x^(3/2)))/(315*b^4)

________________________________________________________________________________________

fricas [A]  time = 0.96, size = 55, normalized size = 0.62 \[ \frac {4 \, {\left (35 \, b^{4} x^{2} - 6 \, a^{2} b^{2} x - 16 \, a^{4} + {\left (5 \, a b^{3} x + 8 \, a^{3} b\right )} \sqrt {x}\right )} \sqrt {b \sqrt {x} + a}}{315 \, b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x^(1/2))^(1/2),x, algorithm="fricas")

[Out]

4/315*(35*b^4*x^2 - 6*a^2*b^2*x - 16*a^4 + (5*a*b^3*x + 8*a^3*b)*sqrt(x))*sqrt(b*sqrt(x) + a)/b^4

________________________________________________________________________________________

giac [B]  time = 0.18, size = 134, normalized size = 1.52 \[ \frac {4 \, {\left (\frac {9 \, {\left (5 \, {\left (b \sqrt {x} + a\right )}^{\frac {7}{2}} - 21 \, {\left (b \sqrt {x} + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b \sqrt {x} + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b \sqrt {x} + a} a^{3}\right )} a}{b^{3}} + \frac {35 \, {\left (b \sqrt {x} + a\right )}^{\frac {9}{2}} - 180 \, {\left (b \sqrt {x} + a\right )}^{\frac {7}{2}} a + 378 \, {\left (b \sqrt {x} + a\right )}^{\frac {5}{2}} a^{2} - 420 \, {\left (b \sqrt {x} + a\right )}^{\frac {3}{2}} a^{3} + 315 \, \sqrt {b \sqrt {x} + a} a^{4}}{b^{3}}\right )}}{315 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x^(1/2))^(1/2),x, algorithm="giac")

[Out]

4/315*(9*(5*(b*sqrt(x) + a)^(7/2) - 21*(b*sqrt(x) + a)^(5/2)*a + 35*(b*sqrt(x) + a)^(3/2)*a^2 - 35*sqrt(b*sqrt
(x) + a)*a^3)*a/b^3 + (35*(b*sqrt(x) + a)^(9/2) - 180*(b*sqrt(x) + a)^(7/2)*a + 378*(b*sqrt(x) + a)^(5/2)*a^2
- 420*(b*sqrt(x) + a)^(3/2)*a^3 + 315*sqrt(b*sqrt(x) + a)*a^4)/b^3)/b

________________________________________________________________________________________

maple [A]  time = 0.00, size = 58, normalized size = 0.66 \[ \frac {-\frac {4 \left (b \sqrt {x}+a \right )^{\frac {3}{2}} a^{3}}{3}+\frac {12 \left (b \sqrt {x}+a \right )^{\frac {5}{2}} a^{2}}{5}-\frac {12 \left (b \sqrt {x}+a \right )^{\frac {7}{2}} a}{7}+\frac {4 \left (b \sqrt {x}+a \right )^{\frac {9}{2}}}{9}}{b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(b*x^(1/2)+a)^(1/2),x)

[Out]

4/b^4*(1/9*(b*x^(1/2)+a)^(9/2)-3/7*a*(b*x^(1/2)+a)^(7/2)+3/5*(b*x^(1/2)+a)^(5/2)*a^2-1/3*a^3*(b*x^(1/2)+a)^(3/
2))

________________________________________________________________________________________

maxima [A]  time = 0.88, size = 64, normalized size = 0.73 \[ \frac {4 \, {\left (b \sqrt {x} + a\right )}^{\frac {9}{2}}}{9 \, b^{4}} - \frac {12 \, {\left (b \sqrt {x} + a\right )}^{\frac {7}{2}} a}{7 \, b^{4}} + \frac {12 \, {\left (b \sqrt {x} + a\right )}^{\frac {5}{2}} a^{2}}{5 \, b^{4}} - \frac {4 \, {\left (b \sqrt {x} + a\right )}^{\frac {3}{2}} a^{3}}{3 \, b^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x^(1/2))^(1/2),x, algorithm="maxima")

[Out]

4/9*(b*sqrt(x) + a)^(9/2)/b^4 - 12/7*(b*sqrt(x) + a)^(7/2)*a/b^4 + 12/5*(b*sqrt(x) + a)^(5/2)*a^2/b^4 - 4/3*(b
*sqrt(x) + a)^(3/2)*a^3/b^4

________________________________________________________________________________________

mupad [B]  time = 1.16, size = 64, normalized size = 0.73 \[ \frac {4\,{\left (a+b\,\sqrt {x}\right )}^{9/2}}{9\,b^4}-\frac {12\,a\,{\left (a+b\,\sqrt {x}\right )}^{7/2}}{7\,b^4}-\frac {4\,a^3\,{\left (a+b\,\sqrt {x}\right )}^{3/2}}{3\,b^4}+\frac {12\,a^2\,{\left (a+b\,\sqrt {x}\right )}^{5/2}}{5\,b^4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a + b*x^(1/2))^(1/2),x)

[Out]

(4*(a + b*x^(1/2))^(9/2))/(9*b^4) - (12*a*(a + b*x^(1/2))^(7/2))/(7*b^4) - (4*a^3*(a + b*x^(1/2))^(3/2))/(3*b^
4) + (12*a^2*(a + b*x^(1/2))^(5/2))/(5*b^4)

________________________________________________________________________________________

sympy [B]  time = 2.82, size = 1987, normalized size = 22.58 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*x**(1/2))**(1/2),x)

[Out]

-64*a**(49/2)*x**8*sqrt(1 + b*sqrt(x)/a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x*
*9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) +
64*a**(49/2)*x**8/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x*
*(19/2) + 4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) - 352*a**(47/2)*b*x**(17/
2)*sqrt(1 + b*sqrt(x)/a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*
b**7*x**(19/2) + 4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 384*a**(47/2)*b*
x**(17/2)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2)
+ 4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) - 792*a**(45/2)*b**2*x**9*sqrt(1
+ b*sqrt(x)/a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(1
9/2) + 4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 960*a**(45/2)*b**2*x**9/(3
15*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16
*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) - 924*a**(43/2)*b**3*x**(19/2)*sqrt(1 + b*sqr
t(x)/a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) +
4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 1280*a**(43/2)*b**3*x**(19/2)/(31
5*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*
b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) - 420*a**(41/2)*b**4*x**10*sqrt(1 + b*sqrt(x)/
a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*
a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 960*a**(41/2)*b**4*x**10/(315*a**20*b*
*4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8*x**10
 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 756*a**(39/2)*b**5*x**(21/2)*sqrt(1 + b*sqrt(x)/a)/(31
5*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*
b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 384*a**(39/2)*b**5*x**(21/2)/(315*a**20*b**4
*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8*x**10 +
 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 2268*a**(37/2)*b**6*x**11*sqrt(1 + b*sqrt(x)/a)/(315*a**
20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8*
x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 64*a**(37/2)*b**6*x**11/(315*a**20*b**4*x**8 + 18
90*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8*x**10 + 1890*a**1
5*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 2988*a**(35/2)*b**7*x**(23/2)*sqrt(1 + b*sqrt(x)/a)/(315*a**20*b**
4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8*x**10
+ 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 2196*a**(33/2)*b**8*x**12*sqrt(1 + b*sqrt(x)/a)/(315*a*
*20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*a**16*b**8
*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 860*a**(31/2)*b**9*x**(25/2)*sqrt(1 + b*sqrt(x)/
a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2) + 4725*
a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11) + 140*a**(29/2)*b**10*x**13*sqrt(1 + b*s
qrt(x)/a)/(315*a**20*b**4*x**8 + 1890*a**19*b**5*x**(17/2) + 4725*a**18*b**6*x**9 + 6300*a**17*b**7*x**(19/2)
+ 4725*a**16*b**8*x**10 + 1890*a**15*b**9*x**(21/2) + 315*a**14*b**10*x**11)

________________________________________________________________________________________